package org.flow.basic.doubts.tjbase;

/**
 * @author xl-9527
 * @since 2024/11/15
 **/
public class SwatchSyntaxNullDemo {

    public void swatchOfNumber(Integer num) {
        switch (num) {
            case 1:
                System.out.printf("%s", num);
                break;
            case null:
                System.out.println("null");
                break;
            default:
                System.out.println("出现了一点点小问题");
                break;

        }
    }
}
